<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2015/12/10
  Time: 0:08
  To change this template use File | Settings | File Templates.
--%>


<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<html>
<head>
    <link type="text/css" rel="stylesheet" href="../css/page.css">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>登陆页面</title>
</head>
<body>
<form style="text-align: center;" method="post"  action="/user/loginhandle">
    用户名<input type="text" name="username"/><br/>
    密码<input type="password" name="password"/><br/>
    <input type="submit" value="登陆"/>
    <input type="button" value="注册" onclick="redirect()"/>
</form>
</body>
<script>
    function redirect(){
        window.location.href="/user/register";
    }
</script>
</html>
